$(document).ready(function()
{
    $('.chosen-select').chosen({no_results_text: '', placeholder_text:' ', disable_search_threshold: 1, search_contains: true, width: '100%'});

    $('.close').click(function(){
       $('#ajaxModal').remove();
       $('.modal-backdrop').remove();
   })

    $('#submit').click(function(){
        var p_content = $('#p_content').val();
        if (!p_content){
            alert('书面说明不能为空');
            return false;
        }else {
            $('form').submit();
        }

    })

})
